package com.dealer.management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dealer.management.entity.Customer;

public interface CustomerService {
    
    IPage<Customer> getCustomerPage(Page<Customer> page, String name);
    
    Customer getCustomerById(Long id);
    
    boolean saveCustomer(Customer customer);
    
    boolean updateCustomer(Customer customer);
    
    boolean deleteCustomer(Long id);
}
